package com.lanling.educenter.service;

import com.lanling.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanling.educenter.entity.vo.RegisterVo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author 胡振华
 * @since 2020-11-21
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    void register(RegisterVo registerVo);

    Map login(UcenterMember member);

    UcenterMember getOpenIdMember(String openid);

    Integer countRegisterDay(String day);

    UcenterMember getUserInfo(HttpServletRequest request);

    Map<String, Map<String, Integer>> userAnalyse();
}
